﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace _1._8._2015_AuthExample.Models
{
    public class AddressIndexViewModel
    {
        public List<AddressViewModel> Addresses { get; set; }
    }

    public class AddressViewModel
    {
        public string Name { get; set; }
        public string Street { get; set; }
        public string City { get; set; }
        public string State { get; set; }
        public string Zip { get; set; }
    }

    public class CreateAddressViewModel
    {
        [Required]
        public string Street { get; set; }
        [Required]
        public string City { get; set; }
        [Required]
        public string State { get; set; }
        [Required]
        public string Zip { get; set; }

        public List<LookUpModel> Users { get; set; }
        public string SelectedUserId { get; set; }
    }

    public class LookUpModel
    {
        public string Value { get; set; }
        public string Display { get; set; }
    }

    public class UpdateAddressViewModel
    {

    }
}